package com.ut.uttools;


import com.ut.uttools.config.SmsProperties;

/**
 * 短信核心服务类
 *
 * @Author Sans
 * @CreateTime 2019/4/20
 * @attention
 */
public class SmsService {


    private String appid;
    private String accountSid;
    private String authToken;


    /**
     * 初始化
     */
    public SmsService(SmsProperties smsProperties) {
       this.appid = smsProperties.getAppid();
       this.accountSid = smsProperties.getAccountSid();
       this.authToken = smsProperties.getAuthToken();
        System.out.println("appid:" + appid);
        System.out.println("accountSid:" + accountSid);
        System.out.println("authToken:" + authToken);
    }

}
